from PyQt5.QtCore import QObject


# 
class GetBoxAction(QObject):
    def __init__(self, exec_time, task_id):
        super(GetBoxAction, self).__init__()
        self.exec_time = exec_time
        self.hold_index = 0
        self._task_id = task_id

    def get_exec_time(self):
        return self.exec_time

    def set_exec_time(self, exec_time):
        self.exec_time = exec_time

    def get_hold_index(self):
        return self.hold_index

    def set_hold_index(self, index):
        self.hold_index = index

    def task_id(self):
        return self._task_id
